package com.desksoft.ecommerce.entity.mall.dto;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

public class PaydefineExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PaydefineExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andPaynoIsNull() {
            addCriterion("PayNo is null");
            return (Criteria) this;
        }

        public Criteria andPaynoIsNotNull() {
            addCriterion("PayNo is not null");
            return (Criteria) this;
        }

        public Criteria andPaynoEqualTo(String value) {
            addCriterion("PayNo =", value, "payno");
            return (Criteria) this;
        }

        public Criteria andPaynoNotEqualTo(String value) {
            addCriterion("PayNo <>", value, "payno");
            return (Criteria) this;
        }

        public Criteria andPaynoGreaterThan(String value) {
            addCriterion("PayNo >", value, "payno");
            return (Criteria) this;
        }

        public Criteria andPaynoGreaterThanOrEqualTo(String value) {
            addCriterion("PayNo >=", value, "payno");
            return (Criteria) this;
        }

        public Criteria andPaynoLessThan(String value) {
            addCriterion("PayNo <", value, "payno");
            return (Criteria) this;
        }

        public Criteria andPaynoLessThanOrEqualTo(String value) {
            addCriterion("PayNo <=", value, "payno");
            return (Criteria) this;
        }

        public Criteria andPaynoLike(String value) {
            addCriterion("PayNo like", value, "payno");
            return (Criteria) this;
        }

        public Criteria andPaynoNotLike(String value) {
            addCriterion("PayNo not like", value, "payno");
            return (Criteria) this;
        }

        public Criteria andPaynoIn(List<String> values) {
            addCriterion("PayNo in", values, "payno");
            return (Criteria) this;
        }

        public Criteria andPaynoNotIn(List<String> values) {
            addCriterion("PayNo not in", values, "payno");
            return (Criteria) this;
        }

        public Criteria andPaynoBetween(String value1, String value2) {
            addCriterion("PayNo between", value1, value2, "payno");
            return (Criteria) this;
        }

        public Criteria andPaynoNotBetween(String value1, String value2) {
            addCriterion("PayNo not between", value1, value2, "payno");
            return (Criteria) this;
        }

        public Criteria andUseridIsNull() {
            addCriterion("UserID is null");
            return (Criteria) this;
        }

        public Criteria andUseridIsNotNull() {
            addCriterion("UserID is not null");
            return (Criteria) this;
        }

        public Criteria andUseridEqualTo(String value) {
            addCriterion("UserID =", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotEqualTo(String value) {
            addCriterion("UserID <>", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThan(String value) {
            addCriterion("UserID >", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridGreaterThanOrEqualTo(String value) {
            addCriterion("UserID >=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThan(String value) {
            addCriterion("UserID <", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLessThanOrEqualTo(String value) {
            addCriterion("UserID <=", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridLike(String value) {
            addCriterion("UserID like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotLike(String value) {
            addCriterion("UserID not like", value, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridIn(List<String> values) {
            addCriterion("UserID in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotIn(List<String> values) {
            addCriterion("UserID not in", values, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridBetween(String value1, String value2) {
            addCriterion("UserID between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andUseridNotBetween(String value1, String value2) {
            addCriterion("UserID not between", value1, value2, "userid");
            return (Criteria) this;
        }

        public Criteria andPaynameIsNull() {
            addCriterion("PayName is null");
            return (Criteria) this;
        }

        public Criteria andPaynameIsNotNull() {
            addCriterion("PayName is not null");
            return (Criteria) this;
        }

        public Criteria andPaynameEqualTo(String value) {
            addCriterion("PayName =", value, "payname");
            return (Criteria) this;
        }

        public Criteria andPaynameNotEqualTo(String value) {
            addCriterion("PayName <>", value, "payname");
            return (Criteria) this;
        }

        public Criteria andPaynameGreaterThan(String value) {
            addCriterion("PayName >", value, "payname");
            return (Criteria) this;
        }

        public Criteria andPaynameGreaterThanOrEqualTo(String value) {
            addCriterion("PayName >=", value, "payname");
            return (Criteria) this;
        }

        public Criteria andPaynameLessThan(String value) {
            addCriterion("PayName <", value, "payname");
            return (Criteria) this;
        }

        public Criteria andPaynameLessThanOrEqualTo(String value) {
            addCriterion("PayName <=", value, "payname");
            return (Criteria) this;
        }

        public Criteria andPaynameLike(String value) {
            addCriterion("PayName like", value, "payname");
            return (Criteria) this;
        }

        public Criteria andPaynameNotLike(String value) {
            addCriterion("PayName not like", value, "payname");
            return (Criteria) this;
        }

        public Criteria andPaynameIn(List<String> values) {
            addCriterion("PayName in", values, "payname");
            return (Criteria) this;
        }

        public Criteria andPaynameNotIn(List<String> values) {
            addCriterion("PayName not in", values, "payname");
            return (Criteria) this;
        }

        public Criteria andPaynameBetween(String value1, String value2) {
            addCriterion("PayName between", value1, value2, "payname");
            return (Criteria) this;
        }

        public Criteria andPaynameNotBetween(String value1, String value2) {
            addCriterion("PayName not between", value1, value2, "payname");
            return (Criteria) this;
        }

        public Criteria andTypeIsNull() {
            addCriterion("Type is null");
            return (Criteria) this;
        }

        public Criteria andTypeIsNotNull() {
            addCriterion("Type is not null");
            return (Criteria) this;
        }

        public Criteria andTypeEqualTo(String value) {
            addCriterion("Type =", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotEqualTo(String value) {
            addCriterion("Type <>", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThan(String value) {
            addCriterion("Type >", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeGreaterThanOrEqualTo(String value) {
            addCriterion("Type >=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThan(String value) {
            addCriterion("Type <", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLessThanOrEqualTo(String value) {
            addCriterion("Type <=", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeLike(String value) {
            addCriterion("Type like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotLike(String value) {
            addCriterion("Type not like", value, "type");
            return (Criteria) this;
        }

        public Criteria andTypeIn(List<String> values) {
            addCriterion("Type in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotIn(List<String> values) {
            addCriterion("Type not in", values, "type");
            return (Criteria) this;
        }

        public Criteria andTypeBetween(String value1, String value2) {
            addCriterion("Type between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andTypeNotBetween(String value1, String value2) {
            addCriterion("Type not between", value1, value2, "type");
            return (Criteria) this;
        }

        public Criteria andClazzIsNull() {
            addCriterion("Class is null");
            return (Criteria) this;
        }

        public Criteria andClazzIsNotNull() {
            addCriterion("Class is not null");
            return (Criteria) this;
        }

        public Criteria andClazzEqualTo(String value) {
            addCriterion("Class =", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzNotEqualTo(String value) {
            addCriterion("Class <>", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzGreaterThan(String value) {
            addCriterion("Class >", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzGreaterThanOrEqualTo(String value) {
            addCriterion("Class >=", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzLessThan(String value) {
            addCriterion("Class <", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzLessThanOrEqualTo(String value) {
            addCriterion("Class <=", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzLike(String value) {
            addCriterion("Class like", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzNotLike(String value) {
            addCriterion("Class not like", value, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzIn(List<String> values) {
            addCriterion("Class in", values, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzNotIn(List<String> values) {
            addCriterion("Class not in", values, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzBetween(String value1, String value2) {
            addCriterion("Class between", value1, value2, "clazz");
            return (Criteria) this;
        }

        public Criteria andClazzNotBetween(String value1, String value2) {
            addCriterion("Class not between", value1, value2, "clazz");
            return (Criteria) this;
        }

        public Criteria andInterfIsNull() {
            addCriterion("Interface is null");
            return (Criteria) this;
        }

        public Criteria andInterfIsNotNull() {
            addCriterion("Interface is not null");
            return (Criteria) this;
        }

        public Criteria andInterfEqualTo(String value) {
            addCriterion("Interface =", value, "interf");
            return (Criteria) this;
        }

        public Criteria andInterfNotEqualTo(String value) {
            addCriterion("Interface <>", value, "interf");
            return (Criteria) this;
        }

        public Criteria andInterfGreaterThan(String value) {
            addCriterion("Interface >", value, "interf");
            return (Criteria) this;
        }

        public Criteria andInterfGreaterThanOrEqualTo(String value) {
            addCriterion("Interface >=", value, "interf");
            return (Criteria) this;
        }

        public Criteria andInterfLessThan(String value) {
            addCriterion("Interface <", value, "interf");
            return (Criteria) this;
        }

        public Criteria andInterfLessThanOrEqualTo(String value) {
            addCriterion("Interface <=", value, "interf");
            return (Criteria) this;
        }

        public Criteria andInterfLike(String value) {
            addCriterion("Interface like", value, "interf");
            return (Criteria) this;
        }

        public Criteria andInterfNotLike(String value) {
            addCriterion("Interface not like", value, "interf");
            return (Criteria) this;
        }

        public Criteria andInterfIn(List<String> values) {
            addCriterion("Interface in", values, "interf");
            return (Criteria) this;
        }

        public Criteria andInterfNotIn(List<String> values) {
            addCriterion("Interface not in", values, "interf");
            return (Criteria) this;
        }

        public Criteria andInterfBetween(String value1, String value2) {
            addCriterion("Interface between", value1, value2, "interf");
            return (Criteria) this;
        }

        public Criteria andInterfNotBetween(String value1, String value2) {
            addCriterion("Interface not between", value1, value2, "interf");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("Status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("Status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion("Status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion("Status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion("Status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion("Status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion("Status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion("Status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLike(String value) {
            addCriterion("Status like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotLike(String value) {
            addCriterion("Status not like", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<String> values) {
            addCriterion("Status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<String> values) {
            addCriterion("Status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion("Status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion("Status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andPaydistIsNull() {
            addCriterion("PayDist is null");
            return (Criteria) this;
        }

        public Criteria andPaydistIsNotNull() {
            addCriterion("PayDist is not null");
            return (Criteria) this;
        }

        public Criteria andPaydistEqualTo(String value) {
            addCriterion("PayDist =", value, "paydist");
            return (Criteria) this;
        }

        public Criteria andPaydistNotEqualTo(String value) {
            addCriterion("PayDist <>", value, "paydist");
            return (Criteria) this;
        }

        public Criteria andPaydistGreaterThan(String value) {
            addCriterion("PayDist >", value, "paydist");
            return (Criteria) this;
        }

        public Criteria andPaydistGreaterThanOrEqualTo(String value) {
            addCriterion("PayDist >=", value, "paydist");
            return (Criteria) this;
        }

        public Criteria andPaydistLessThan(String value) {
            addCriterion("PayDist <", value, "paydist");
            return (Criteria) this;
        }

        public Criteria andPaydistLessThanOrEqualTo(String value) {
            addCriterion("PayDist <=", value, "paydist");
            return (Criteria) this;
        }

        public Criteria andPaydistLike(String value) {
            addCriterion("PayDist like", value, "paydist");
            return (Criteria) this;
        }

        public Criteria andPaydistNotLike(String value) {
            addCriterion("PayDist not like", value, "paydist");
            return (Criteria) this;
        }

        public Criteria andPaydistIn(List<String> values) {
            addCriterion("PayDist in", values, "paydist");
            return (Criteria) this;
        }

        public Criteria andPaydistNotIn(List<String> values) {
            addCriterion("PayDist not in", values, "paydist");
            return (Criteria) this;
        }

        public Criteria andPaydistBetween(String value1, String value2) {
            addCriterion("PayDist between", value1, value2, "paydist");
            return (Criteria) this;
        }

        public Criteria andPaydistNotBetween(String value1, String value2) {
            addCriterion("PayDist not between", value1, value2, "paydist");
            return (Criteria) this;
        }

        public Criteria andIconIsNull() {
            addCriterion("Icon is null");
            return (Criteria) this;
        }

        public Criteria andIconIsNotNull() {
            addCriterion("Icon is not null");
            return (Criteria) this;
        }

        public Criteria andIconEqualTo(String value) {
            addCriterion("Icon =", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotEqualTo(String value) {
            addCriterion("Icon <>", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconGreaterThan(String value) {
            addCriterion("Icon >", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconGreaterThanOrEqualTo(String value) {
            addCriterion("Icon >=", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLessThan(String value) {
            addCriterion("Icon <", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLessThanOrEqualTo(String value) {
            addCriterion("Icon <=", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconLike(String value) {
            addCriterion("Icon like", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotLike(String value) {
            addCriterion("Icon not like", value, "icon");
            return (Criteria) this;
        }

        public Criteria andIconIn(List<String> values) {
            addCriterion("Icon in", values, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotIn(List<String> values) {
            addCriterion("Icon not in", values, "icon");
            return (Criteria) this;
        }

        public Criteria andIconBetween(String value1, String value2) {
            addCriterion("Icon between", value1, value2, "icon");
            return (Criteria) this;
        }

        public Criteria andIconNotBetween(String value1, String value2) {
            addCriterion("Icon not between", value1, value2, "icon");
            return (Criteria) this;
        }

        public Criteria andOrderseqIsNull() {
            addCriterion("OrderSeq is null");
            return (Criteria) this;
        }

        public Criteria andOrderseqIsNotNull() {
            addCriterion("OrderSeq is not null");
            return (Criteria) this;
        }

        public Criteria andOrderseqEqualTo(Integer value) {
            addCriterion("OrderSeq =", value, "orderseq");
            return (Criteria) this;
        }

        public Criteria andOrderseqNotEqualTo(Integer value) {
            addCriterion("OrderSeq <>", value, "orderseq");
            return (Criteria) this;
        }

        public Criteria andOrderseqGreaterThan(Integer value) {
            addCriterion("OrderSeq >", value, "orderseq");
            return (Criteria) this;
        }

        public Criteria andOrderseqGreaterThanOrEqualTo(Integer value) {
            addCriterion("OrderSeq >=", value, "orderseq");
            return (Criteria) this;
        }

        public Criteria andOrderseqLessThan(Integer value) {
            addCriterion("OrderSeq <", value, "orderseq");
            return (Criteria) this;
        }

        public Criteria andOrderseqLessThanOrEqualTo(Integer value) {
            addCriterion("OrderSeq <=", value, "orderseq");
            return (Criteria) this;
        }

        public Criteria andOrderseqIn(List<Integer> values) {
            addCriterion("OrderSeq in", values, "orderseq");
            return (Criteria) this;
        }

        public Criteria andOrderseqNotIn(List<Integer> values) {
            addCriterion("OrderSeq not in", values, "orderseq");
            return (Criteria) this;
        }

        public Criteria andOrderseqBetween(Integer value1, Integer value2) {
            addCriterion("OrderSeq between", value1, value2, "orderseq");
            return (Criteria) this;
        }

        public Criteria andOrderseqNotBetween(Integer value1, Integer value2) {
            addCriterion("OrderSeq not between", value1, value2, "orderseq");
            return (Criteria) this;
        }

        public Criteria andFatherIsNull() {
            addCriterion("Father is null");
            return (Criteria) this;
        }

        public Criteria andFatherIsNotNull() {
            addCriterion("Father is not null");
            return (Criteria) this;
        }

        public Criteria andFatherEqualTo(String value) {
            addCriterion("Father =", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotEqualTo(String value) {
            addCriterion("Father <>", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherGreaterThan(String value) {
            addCriterion("Father >", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherGreaterThanOrEqualTo(String value) {
            addCriterion("Father >=", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherLessThan(String value) {
            addCriterion("Father <", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherLessThanOrEqualTo(String value) {
            addCriterion("Father <=", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherLike(String value) {
            addCriterion("Father like", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotLike(String value) {
            addCriterion("Father not like", value, "father");
            return (Criteria) this;
        }

        public Criteria andFatherIn(List<String> values) {
            addCriterion("Father in", values, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotIn(List<String> values) {
            addCriterion("Father not in", values, "father");
            return (Criteria) this;
        }

        public Criteria andFatherBetween(String value1, String value2) {
            addCriterion("Father between", value1, value2, "father");
            return (Criteria) this;
        }

        public Criteria andFatherNotBetween(String value1, String value2) {
            addCriterion("Father not between", value1, value2, "father");
            return (Criteria) this;
        }

        public Criteria andPoundageIsNull() {
            addCriterion("Poundage is null");
            return (Criteria) this;
        }

        public Criteria andPoundageIsNotNull() {
            addCriterion("Poundage is not null");
            return (Criteria) this;
        }

        public Criteria andPoundageEqualTo(BigDecimal value) {
            addCriterion("Poundage =", value, "poundage");
            return (Criteria) this;
        }

        public Criteria andPoundageNotEqualTo(BigDecimal value) {
            addCriterion("Poundage <>", value, "poundage");
            return (Criteria) this;
        }

        public Criteria andPoundageGreaterThan(BigDecimal value) {
            addCriterion("Poundage >", value, "poundage");
            return (Criteria) this;
        }

        public Criteria andPoundageGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("Poundage >=", value, "poundage");
            return (Criteria) this;
        }

        public Criteria andPoundageLessThan(BigDecimal value) {
            addCriterion("Poundage <", value, "poundage");
            return (Criteria) this;
        }

        public Criteria andPoundageLessThanOrEqualTo(BigDecimal value) {
            addCriterion("Poundage <=", value, "poundage");
            return (Criteria) this;
        }

        public Criteria andPoundageIn(List<BigDecimal> values) {
            addCriterion("Poundage in", values, "poundage");
            return (Criteria) this;
        }

        public Criteria andPoundageNotIn(List<BigDecimal> values) {
            addCriterion("Poundage not in", values, "poundage");
            return (Criteria) this;
        }

        public Criteria andPoundageBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Poundage between", value1, value2, "poundage");
            return (Criteria) this;
        }

        public Criteria andPoundageNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("Poundage not between", value1, value2, "poundage");
            return (Criteria) this;
        }

        public Criteria andClientidIsNull() {
            addCriterion("ClientID is null");
            return (Criteria) this;
        }

        public Criteria andClientidIsNotNull() {
            addCriterion("ClientID is not null");
            return (Criteria) this;
        }

        public Criteria andClientidEqualTo(String value) {
            addCriterion("ClientID =", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidNotEqualTo(String value) {
            addCriterion("ClientID <>", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidGreaterThan(String value) {
            addCriterion("ClientID >", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidGreaterThanOrEqualTo(String value) {
            addCriterion("ClientID >=", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidLessThan(String value) {
            addCriterion("ClientID <", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidLessThanOrEqualTo(String value) {
            addCriterion("ClientID <=", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidLike(String value) {
            addCriterion("ClientID like", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidNotLike(String value) {
            addCriterion("ClientID not like", value, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidIn(List<String> values) {
            addCriterion("ClientID in", values, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidNotIn(List<String> values) {
            addCriterion("ClientID not in", values, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidBetween(String value1, String value2) {
            addCriterion("ClientID between", value1, value2, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientidNotBetween(String value1, String value2) {
            addCriterion("ClientID not between", value1, value2, "clientid");
            return (Criteria) this;
        }

        public Criteria andClientpwdIsNull() {
            addCriterion("ClientPWD is null");
            return (Criteria) this;
        }

        public Criteria andClientpwdIsNotNull() {
            addCriterion("ClientPWD is not null");
            return (Criteria) this;
        }

        public Criteria andClientpwdEqualTo(String value) {
            addCriterion("ClientPWD =", value, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andClientpwdNotEqualTo(String value) {
            addCriterion("ClientPWD <>", value, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andClientpwdGreaterThan(String value) {
            addCriterion("ClientPWD >", value, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andClientpwdGreaterThanOrEqualTo(String value) {
            addCriterion("ClientPWD >=", value, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andClientpwdLessThan(String value) {
            addCriterion("ClientPWD <", value, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andClientpwdLessThanOrEqualTo(String value) {
            addCriterion("ClientPWD <=", value, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andClientpwdLike(String value) {
            addCriterion("ClientPWD like", value, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andClientpwdNotLike(String value) {
            addCriterion("ClientPWD not like", value, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andClientpwdIn(List<String> values) {
            addCriterion("ClientPWD in", values, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andClientpwdNotIn(List<String> values) {
            addCriterion("ClientPWD not in", values, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andClientpwdBetween(String value1, String value2) {
            addCriterion("ClientPWD between", value1, value2, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andClientpwdNotBetween(String value1, String value2) {
            addCriterion("ClientPWD not between", value1, value2, "clientpwd");
            return (Criteria) this;
        }

        public Criteria andParteridIsNull() {
            addCriterion("ParterID is null");
            return (Criteria) this;
        }

        public Criteria andParteridIsNotNull() {
            addCriterion("ParterID is not null");
            return (Criteria) this;
        }

        public Criteria andParteridEqualTo(String value) {
            addCriterion("ParterID =", value, "parterid");
            return (Criteria) this;
        }

        public Criteria andParteridNotEqualTo(String value) {
            addCriterion("ParterID <>", value, "parterid");
            return (Criteria) this;
        }

        public Criteria andParteridGreaterThan(String value) {
            addCriterion("ParterID >", value, "parterid");
            return (Criteria) this;
        }

        public Criteria andParteridGreaterThanOrEqualTo(String value) {
            addCriterion("ParterID >=", value, "parterid");
            return (Criteria) this;
        }

        public Criteria andParteridLessThan(String value) {
            addCriterion("ParterID <", value, "parterid");
            return (Criteria) this;
        }

        public Criteria andParteridLessThanOrEqualTo(String value) {
            addCriterion("ParterID <=", value, "parterid");
            return (Criteria) this;
        }

        public Criteria andParteridLike(String value) {
            addCriterion("ParterID like", value, "parterid");
            return (Criteria) this;
        }

        public Criteria andParteridNotLike(String value) {
            addCriterion("ParterID not like", value, "parterid");
            return (Criteria) this;
        }

        public Criteria andParteridIn(List<String> values) {
            addCriterion("ParterID in", values, "parterid");
            return (Criteria) this;
        }

        public Criteria andParteridNotIn(List<String> values) {
            addCriterion("ParterID not in", values, "parterid");
            return (Criteria) this;
        }

        public Criteria andParteridBetween(String value1, String value2) {
            addCriterion("ParterID between", value1, value2, "parterid");
            return (Criteria) this;
        }

        public Criteria andParteridNotBetween(String value1, String value2) {
            addCriterion("ParterID not between", value1, value2, "parterid");
            return (Criteria) this;
        }

        public Criteria andSiteidIsNull() {
            addCriterion("SiteID is null");
            return (Criteria) this;
        }

        public Criteria andSiteidIsNotNull() {
            addCriterion("SiteID is not null");
            return (Criteria) this;
        }

        public Criteria andSiteidEqualTo(Integer value) {
            addCriterion("SiteID =", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidNotEqualTo(Integer value) {
            addCriterion("SiteID <>", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidGreaterThan(Integer value) {
            addCriterion("SiteID >", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidGreaterThanOrEqualTo(Integer value) {
            addCriterion("SiteID >=", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidLessThan(Integer value) {
            addCriterion("SiteID <", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidLessThanOrEqualTo(Integer value) {
            addCriterion("SiteID <=", value, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidIn(List<Integer> values) {
            addCriterion("SiteID in", values, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidNotIn(List<Integer> values) {
            addCriterion("SiteID not in", values, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidBetween(Integer value1, Integer value2) {
            addCriterion("SiteID between", value1, value2, "siteid");
            return (Criteria) this;
        }

        public Criteria andSiteidNotBetween(Integer value1, Integer value2) {
            addCriterion("SiteID not between", value1, value2, "siteid");
            return (Criteria) this;
        }

        public Criteria andPayiconIsNull() {
            addCriterion("PayIcon is null");
            return (Criteria) this;
        }

        public Criteria andPayiconIsNotNull() {
            addCriterion("PayIcon is not null");
            return (Criteria) this;
        }

        public Criteria andPayiconEqualTo(String value) {
            addCriterion("PayIcon =", value, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayiconNotEqualTo(String value) {
            addCriterion("PayIcon <>", value, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayiconGreaterThan(String value) {
            addCriterion("PayIcon >", value, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayiconGreaterThanOrEqualTo(String value) {
            addCriterion("PayIcon >=", value, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayiconLessThan(String value) {
            addCriterion("PayIcon <", value, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayiconLessThanOrEqualTo(String value) {
            addCriterion("PayIcon <=", value, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayiconLike(String value) {
            addCriterion("PayIcon like", value, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayiconNotLike(String value) {
            addCriterion("PayIcon not like", value, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayiconIn(List<String> values) {
            addCriterion("PayIcon in", values, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayiconNotIn(List<String> values) {
            addCriterion("PayIcon not in", values, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayiconBetween(String value1, String value2) {
            addCriterion("PayIcon between", value1, value2, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayiconNotBetween(String value1, String value2) {
            addCriterion("PayIcon not between", value1, value2, "payicon");
            return (Criteria) this;
        }

        public Criteria andPayorderIsNull() {
            addCriterion("PayOrder is null");
            return (Criteria) this;
        }

        public Criteria andPayorderIsNotNull() {
            addCriterion("PayOrder is not null");
            return (Criteria) this;
        }

        public Criteria andPayorderEqualTo(Integer value) {
            addCriterion("PayOrder =", value, "payorder");
            return (Criteria) this;
        }

        public Criteria andPayorderNotEqualTo(Integer value) {
            addCriterion("PayOrder <>", value, "payorder");
            return (Criteria) this;
        }

        public Criteria andPayorderGreaterThan(Integer value) {
            addCriterion("PayOrder >", value, "payorder");
            return (Criteria) this;
        }

        public Criteria andPayorderGreaterThanOrEqualTo(Integer value) {
            addCriterion("PayOrder >=", value, "payorder");
            return (Criteria) this;
        }

        public Criteria andPayorderLessThan(Integer value) {
            addCriterion("PayOrder <", value, "payorder");
            return (Criteria) this;
        }

        public Criteria andPayorderLessThanOrEqualTo(Integer value) {
            addCriterion("PayOrder <=", value, "payorder");
            return (Criteria) this;
        }

        public Criteria andPayorderIn(List<Integer> values) {
            addCriterion("PayOrder in", values, "payorder");
            return (Criteria) this;
        }

        public Criteria andPayorderNotIn(List<Integer> values) {
            addCriterion("PayOrder not in", values, "payorder");
            return (Criteria) this;
        }

        public Criteria andPayorderBetween(Integer value1, Integer value2) {
            addCriterion("PayOrder between", value1, value2, "payorder");
            return (Criteria) this;
        }

        public Criteria andPayorderNotBetween(Integer value1, Integer value2) {
            addCriterion("PayOrder not between", value1, value2, "payorder");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}